<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://genshi.edgewall.org/"
      xmlns:xi="http://www.w3.org/2001/XInclude"
      py:strip="">

    <xi:include href="header.html" />
    <xi:include href="sidebars_admin.html" />
    <xi:include href="sidebars_pruebas.html" />
    <xi:include href="footer.html" />
<head py:match="head" py:attrs="select('@*')">
    <!--<meta content="text/html; charset=UTF-8" http-equiv="content-type" py:replace="''"/>
    <title py:replace="''">Your title goes here</title>
    <meta py:replace="select('*')"/>-->
   <!-- <link rel="stylesheet" type="text/css" media="screen" href="${tg.url('/css/style.css')}" />
    <link rel="stylesheet" type="text/css" media="screen" href="${tg.url('/css/admin.css')}" /> -->
<link rel="stylesheet" type="text/css" media="screen" href="${tg.url('/css/jquery.multiselect.css')}" />
    <script type="text/javascript" src="${url('/javascript/jquery.js')}">
    </script>
    <script type="text/javascript" src="${url('/javascript/jquery.multiselect.js')}">
    </script>
    <script type="text/javascript">
	    $(function() {$("#lider").multiselect();});

            </script>
            <script type="text/javascript" src="${url('/javascript/jquery.notice.js')}">
            </script>
            <script type="text/javascript" src="${url('/javascript/flexigrid.pack.js')}">
            </script>
            <script type="text/javascript" src="${url('/javascript/flexigrid.js')}">
            </script>
            <script type="text/javascript" src="${url('/javascript/sliding_effect.js')}">
            </script>
            <script type="text/javascript" src="${url('/javascript/add_more_attr.js')}">
            </script>

            <!--************************************************************************** -->
            <!--
              Esta seccion es requerida por genshi, es decir, necesita que dentro de las etiquetas <head></head> existan
              las etiquetas <meta></meta> y <title></title>, como no usaremos esas etiquetas de este archivo utilizamos
              py:replace para eliminar su contenido.
            -->
            <meta content="text/html; charset=UTF-8" http-equiv="content-type" py:replace="''"/>
            <title py:replace="''">
              Your title goes here
            </title>
            <meta py:replace="select('*')"/>
            <!--************************************************************************** -->

            <!--==================================================================================== -->
            <!--
              En esta seccion se simplemente se traen las hojas de estilo de nuestra aplicacion. Lo que hay que notar el
              la objeto global "tg", usando tg.url() obtenemos el path de nuestra aplicacion, al pasarle el parametro
              '/css/style.css' estamos generando 'nuestraapp/css/style.css'
            -->


	    <link rel="stylesheet" type="text/css" media="screen" href="${tg.url('/css/style.css')}" />
            <link rel="stylesheet" type="text/css" media="screen" href="${tg.url('/css/admin.css')}" />
            <link rel="stylesheet" type="text/css" media="screen" href="${tg.url('/css/flexigrid.css')}" />
            <link rel="stylesheet" type="text/css" media="screen" href="${tg.url('/css/flexigrid.pack.css')}" />
            <link rel="stylesheet" type="text/css" media="screen" href="${tg.url('/css/jquery.notice.css')}" />
</head>

<body py:match="body" py:attrs="select('@*')">
  ${header()}
  <ul id="mainmenu">
    <li class="first"><a href="${tg.url('/')}" class="${('', 'active')[defined('page') and page=='index']}">Inicio</a></li>
        <li><a href="${tg.url('/admin')}" class="${('', 'active')[defined('page') and page=='admin']}">Administrar</a></li>
        <li><a href="${tg.url('/cadenas/analizadores_disponibles')}" class="${('', 'active')[defined('page') and page=='pruebas']}">Pruebas</a></li>
        <li><a href="${tg.url('/presentacion')}" class="${('', 'active')[defined('page') and page=='presentacion']}">Presentacion</a></li>

  </ul>
  <div id="content">
    <py:if test="defined('page')">
    <div class="currentpage">
     <span py:replace="page"/>
     </div>
    </py:if>
    <py:with vars="flash=tg.flash_obj.render('flash', use_js=False)">
        <div py:if="flash" py:content="XML(flash)" />
    </py:with>
    <div py:replace="select('*|text()')"/>
    <!-- End of main_content -->
    ${footer()}
  </div>
</body>
</html>
